package com.example.sharding.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * <p>
 * 系统用户
 * </p>
 *
 * @author lxh123
 * @since 2019-12-04
 */
@Data
@Builder
@TableName("user")
public class User extends Model<User> {

    private static final long serialVersionUID = 1L;

 private Long id;
 private Long corpId;
 private String createTime;
 private Integer isDelete;
 private String updateTime;
 private String avatar;
 private String deptArray;
 private Long deptId;
 private String flag;
 private String isAdmin;
 private String name;
 private String openId;
 private String password;
 private String phone;
 private String post;
 private String username;
 private String workUnit;
 private String isManager;
 private Integer isDeptHead;


}
